compile:
	mkdir -p output 
	mkdir -p debug
	gcc cim_sw.c -o cim_sw.o 
	gcc inst_gen.c -o inst_gen
clean:
	rm -f ./output/*
	rm -f ./debug/*
	rm -f instruction.h
run: 
	@make -s clean 
	@make -s compile 
	./cim_sw.o
	./inst_gen
compare:
	diff  ./output/golden_out_data_char.txt ./input/rtl_data.txt

compare_python:
	diff  ./output/golden_out_data_char.txt  ./input/result.txt